package com.lida.auto.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * author: lida
 * create time: 2020-09-01 16:45
 * description: 该类就是对框架中的能够修改的参数的封装
 */
@ConfigurationProperties(
        prefix = "com.lida"
)
public class LogicServiceProperties {
    private String id;
    private String pwd;

    public LogicServiceProperties() {
    }

    public LogicServiceProperties(String id, String pwd) {
        this.id = id;
        this.pwd = pwd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "LogicServiceProperties{" +
                "id='" + id + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
